matplotlib style
Gallery: Style sheets
style_sheets example code: plot_fivethirtyeight.py
A Guide to Creating and Using Your Own Matplotlib Style
Making Matplotlib Beautiful By Default - Towards Data Science
View and Choose from nearly 30 builtin Matplotlib Styles
An Introduction to Making Scientific Publication Plots with Python | by Naveen Venkatesan | Towards Data Science
Decorator
code:python
@mpl.rc_context({'lines.linewidth': 3, 'lines.linestyle': '-'})
def plotting_function():
plt.plot(data)
plotting_function()